package org.dey.controller;

import org.dey.pojo.FxQuestions;
import org.dey.service.FxQuestionsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class FxQuestionsController {
    @Autowired
    FxQuestionsService fxQuestionsService;

    @GetMapping("/queryFList.do")
    public List<FxQuestions> queryFList(  ) {
        List<FxQuestions> fxQuestions = fxQuestionsService.queryFList();
        return fxQuestions;
    }

}
